/*
 * 项   目：code-generator
 * 作   者：LuoYiMin
 * 邮   箱：1725990142@qq.com
 * 创建时间：2018/12/27 16:11
 */
package com.roin.util.code.generator.model;

import java.io.Serializable;

public class ControllerConfig implements Serializable {
    /**
     * 是否需要list方法
     */
    private boolean list = true;
    private boolean listPermission = true;
    /**
     * 是否需要add方法
     */
    private boolean add = true;
    private boolean addPermission = true;
    /**
     * 是否需要update方法
     */
    private boolean update = true;
    private boolean updatePermission = true;
    /**
     * 是否需要delete方法
     */
    private boolean delete = true;
    private boolean deletePermission = true;
    /**
     * 是否需要batchDelete方法
     */
    private boolean batchDelete = true;
    private boolean batchDeletePermission = true;

    public boolean isList() {
        return list;
    }

    public void setList(boolean list) {
        this.list = list;
    }

    public boolean isAdd() {
        return add;
    }

    public void setAdd(boolean add) {
        this.add = add;
    }

    public boolean isUpdate() {
        return update;
    }

    public void setUpdate(boolean update) {
        this.update = update;
    }

    public boolean isDelete() {
        return delete;
    }

    public void setDelete(boolean delete) {
        this.delete = delete;
    }

    public boolean isBatchDelete() {
        return batchDelete;
    }

    public void setBatchDelete(boolean batchDelete) {
        this.batchDelete = batchDelete;
    }

    public boolean isListPermission() {
        return listPermission;
    }

    public void setListPermission(boolean listPermission) {
        this.listPermission = listPermission;
    }

    public boolean isAddPermission() {
        return addPermission;
    }

    public void setAddPermission(boolean addPermission) {
        this.addPermission = addPermission;
    }

    public boolean isUpdatePermission() {
        return updatePermission;
    }

    public void setUpdatePermission(boolean updatePermission) {
        this.updatePermission = updatePermission;
    }

    public boolean isDeletePermission() {
        return deletePermission;
    }

    public void setDeletePermission(boolean deletePermission) {
        this.deletePermission = deletePermission;
    }

    public boolean isBatchDeletePermission() {
        return batchDeletePermission;
    }

    public void setBatchDeletePermission(boolean batchDeletePermission) {
        this.batchDeletePermission = batchDeletePermission;
    }
}
